package test6;

import java.util.ArrayList;

public class lasttest {
    public static void main(String[] args) {
        String arr = "woshinideairen";
        StringBuilder sb = new StringBuilder();
        sb.append(arr);
        sb.reverse();
        arr = sb.toString();
        System.out.println(arr);
        ArrayList<String> list = new ArrayList<>();
        list.add(arr);
        Boolean bl = list.remove(arr);
        System.out.println(bl);
    }
}
